package com.edu.service;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:GoodBoy
 * @DATE:2024/11/10 13:49
 * @describe:
 */
public interface UserService {
    int deleteByPrimaryKey(Integer userId);

    int insert(User row);

    User selectByPrimaryKey(Integer userId);

    List<User> selectAll();

    int updateByPrimaryKey(User row);

    List<User> selectByPrimaryKey2(User row);

    int insertUsers(@Param("users")List<User> users);
}
